﻿using System;
using System.Threading.Tasks;
using Microsoft.Owin;
using Owin;

[assembly: OwinStartup(typeof(OA.Mvc.Chats.ChatsStartup))]

namespace OA.Mvc.Chats
{
    // 中间件，用来调用SignalR
    public class ChatsStartup
    {
        public void Configuration(IAppBuilder app)
        {
            // app.MapSignalR<TestSignalR>("/chats");
            app.MapSignalR();
        }
    }
}
